package com.vitabuybuy.tv.ui.mine.order.adapter

import androidx.recyclerview.widget.RecyclerView
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ItemOrderGoodsBBinding
import com.vitabuybuy.tv.dto.OrderDetailDto
import com.vitabuybuy.tv.dto.OrderListDto
import com.library.common.base.BindRecycAdapter

class ItemOrderGoodAdapterB :
    BindRecycAdapter<ItemOrderGoodsBBinding, OrderDetailDto.ItemListBean>() {
    override fun onBindViewHolder(
        mBinding: ItemOrderGoodsBBinding,
        itemData: OrderDetailDto.ItemListBean,
        holder: RecyclerView.ViewHolder,
        position: Int
    ) {
        mBinding.itemData = itemData
    }

    override fun normalViewId(viewType: Int): Int {
        return R.layout.item_order_goods_b
    }
}
